package com.tomcov.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.tomcov.shared.Message;

@RemoteServiceRelativePath("messageService")
public interface MessageService extends RemoteService{
	
	public Message AddMessage(Message message);
	public List<Message> getMessageTo(String User);
	public List<Message> getMessageFrom(String User);

}
